body {
    background-color: #f5f5f5;
    font-family: "PingFangSC-Regular", "Microsoft Yahei", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

i {
    font-style: normal;
}

.fl {
    float: left;
}

.fr {
    float: right;
}

a:active {
    background-color: rgba(0,0,0,.1);!important;
    -webkit-tap-highlight-color: rgba(0,0,0,0.1);
}

.scroll {
    position:absolute;
    overflow:scroll;
    -webkit-overflow-scrolling: touch;
    top:0;
    left:0;
    bottom:0;
    right:0;
    background-color: #f5f5f5;
    padding-bottom: 27.5vw;
}

.noCar {
    width: 50vw;
    margin: 30vw auto;
}

.noCar img {
    display: inline-block;
    width: 100%;
    height: 100%;
}

/* 购物车列表*/
.list-block {
    margin: 0;
}
.views li {
    width: 100%;
    height: 30vw;
    display: block;
    background-color: #fff;
    padding-left: 3.2vw;
}

.views li .swipeout-content {
    height: 100%;
}

.views li .img {
    width: 33%;
    padding: 3.2vw 0 3.2vw 8vw;
    position: relative;
    height: 100%;
}

.views li .img img {
    display: inline-block;
    width: 100%;
    height: 100%;
}

.views li .img i {
    content: "";
    position: absolute;
    width: 4vw;
    height: 4vw;
    background: url("/home/images/commodity/choose.png") no-repeat;
    background-size: 4vw 4vw;
    left: 0;
    top: 50%;
    margin-top: -2vw;
}

.views li .img.active i {
    background: url("/home/images/commodity/choose_.png") no-repeat;
    background-size: 4vw 4vw;
}

.views li .content {
    width: 64%;
    height: 100%;
    position: relative;
}

.views li .content1 {
    padding: 3.2vw 3.2vw 3.2vw 0;
}

.views li .content1 .titleEdit .title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    width: 80%;
    color: #252E32;
    font-size: .37rem;
    line-height: 4.2vw;
}

.views li .content1 .titleEdit .edit {
    width: 19%;
    text-align: right;
}

.views li .content1 .titleEdit .edit img {
    width: 4vw;
    height: 4vw;
    margin-top: 1.6vw;
    display: inline-block;
}

.views li .content1 .num {
    color: #9C9C9C;
    font-size: .32rem;
    margin-top: 2vw;
}

.views li .content1 .note {
    position: absolute;
    left: 0;
    bottom: 3.2vw;
    width: 100%;
}

.views li .content1 .note .price {
    color:#FE374A;
    font-size: .27rem;
}

.views li .content1 .note .price span:first-of-type {
    font-size: .45rem;
}

.views li .content1 .note .price span:last-of-type {
    font-size: .32rem;
}

.views li .content1 .note .fr {
    color: #9C9C9C;
    font-size: .32rem;
    margin-right: 3.2vw;
}

.views li .red {
    background-color: #cf3636;
    color: #fff;
    font-size: .42rem;
    padding: 0 3.2vw;
}

.views li .content2 {
    height: 100%;
    display: none;
}

.views li .content2 .purNext {
    width: 80%;
   padding-top: calc(30% - 8vw);
}

.views li .content2 .purNext span {
    display: inline-block;
    width: 8vw;
    height: 8vw;
    text-align: center;
    line-height: 8vw;
    border: 1px solid #E5E5E5;
    color: #9C9C9C;
    font-size: .48rem;
}

.views li .content2 .purNext span.active {
    background-color: #f1f1f1;
}

.views li .content2 .purNext input {
    display: inline-block;
    width: calc(100% - 20vw);
    height: 8vw;
    border: 1px solid #E5E5E5;
    color: #252E32;
    line-height: 8vw;
    padding: 0 2vw;
    text-align: center;
}

.views li .content2 .purNext p {
    font-size: .32rem;
    color: #cf3636;
}

.views li .content2 .over {
    background: -webkit-linear-gradient(top, #FFBA00 ,#FF9000);
    background: linear-gradient(top, #FFBA00 ,#FF9000);
    font-size: .42rem;
    color: #fff;
    padding: 0 3.2vw;
    display: table;
    width: 19%;
    height: 100%;
}

.views li .content2 .over span {
    vertical-align:middle;
    display:table-cell;
}

/* balance*/
.balance {
    position: fixed;
    bottom: 14.4vw;
    left: 0;
    z-index: 9999;
    background-color: #fff;
    height: 13.1vw;
    width: 100%;
    border-top: 1px solid #f1f1f1;
}

.balance .quanxuan {
    color: #252E32;
    font-size: .37rem;
    margin-left: 3.2vw;
    padding-left: 6vw;
    height: 100%;
    line-height: 13.1vw;
}

.balance .quanxuan i {
    content: "";
    position: absolute;
    width: 4vw;
    height: 4vw;
    background: url("/home/images/commodity/choose.png") no-repeat;
    background-size: 4vw 4vw;
    left: 3.2vw;
    top: 50%;
    margin-top: -2vw;
}

.balance .quanxuan.active i {
    background: url("/home/images/commodity/choose_.png") no-repeat;
    background-size: 4vw 4vw;
}

.balance .fr span {
    display: inline-block;
    line-height: 13.1vw;
}

.balance .fr>span:first-of-type {
    color: #252E32;
    font-size: .37rem;
}

.balance .fr .price {
    color:#FE374A;
    font-size: .27rem;
}

.balance .fr .price span:first-of-type {
    font-size: .45rem;
}

.balance .fr .price span:last-of-type {
    font-size: .32rem;
}

.balance .fr>span:last-of-type {
    background: -webkit-linear-gradient(left, #FFBA00 ,#FF9000);
    background: linear-gradient(left, #FFBA00 ,#FF9000);
    color: #fff;
    font-size: .42rem;
    text-align: center;
    width: 29.6vw;
    margin-left: 5.4vw;
}